package com.sh.构造器模式;


public class Test {
    public static void main(String[] args) {
//        Car car = new Car("奔驰", "白色", "1.8T");
//        System.out.println(car);


        CarBean carBean = new CarBean();
        carBean.setCarBody("奔驰");
        carBean.setTyre("白色");
        carBean.setEngine("1.8T");
        carBean.setDecoration("豪华");
        carBean.setAimingCircle("半个圈");
        System.out.println(carBean);

        Person.builder().age(12).name("张三").build();
    }
}
